package com.example.tool.erp.sdk.api.wms.stockin.dto;

import com.google.gson.annotations.SerializedName;

import java.math.BigDecimal;
import java.util.List;

public class PurchaseStockinSearchResponse {

    @SerializedName("total_count")
    private Integer total;
    @SerializedName("order")
    private List<Order> orderList;

    public static class Order {
        @SerializedName("order_no")
        private String orderNo;
        @SerializedName("logistics_name")
        private String logisticsName;
        @SerializedName("tax_amount")
        private BigDecimal taxAmount;
        @SerializedName("created_time")
        private String createdTime;
        @SerializedName("purchase_no")
        private String purchaseNo;
        @SerializedName("stockin_id")
        private Integer stockinId;
        @SerializedName("total_price")
        private BigDecimal totalPrice;
        @SerializedName("logistics_no")
        private String logisticsNo;
        @SerializedName("goods_amount")
        private BigDecimal goodsAmount;
        @SerializedName("purchase_id")
        private Integer purchaseId;
        @SerializedName("remark")
        private String remark;
        @SerializedName("goods_count")
        private BigDecimal goodsCount;
        @SerializedName("flag_name")
        private String flagName;
        @SerializedName("operator_name")
        private String operatorName;
        @SerializedName("warehouse_no")
        private String warehouseNo;
        @SerializedName("total_stockin_price")
        private BigDecimal totalStockinPrice;
        @SerializedName("modified")
        private String modified;
        @SerializedName("logistics_type_name")
        private String logisticsTypeName;
        @SerializedName("provider_name")
        private String providerName;
        @SerializedName("status")
        private Integer status;
        @SerializedName("check_time")
        private String checkTime;
        @SerializedName("provider_no")
        private String providerNo;
        @SerializedName("details_list")
        private List<Detail> detailList;

        public static class Detail {
            @SerializedName("tax_amount")
            private BigDecimal taxAmount;
            @SerializedName("total_cost")
            private BigDecimal totalCost;
            @SerializedName("num")
            private BigDecimal num;
            @SerializedName("goods_no")
            private String goodsNo;
            @SerializedName("production_date")
            private String productionDate;
            @SerializedName("discount")
            private BigDecimal discount;
            @SerializedName("tax_price")
            private BigDecimal taxPrice;
            @SerializedName("remark")
            private String remark;
            @SerializedName("purchase_unit_name")
            private String purchaseUnitName;
            @SerializedName("spec_no")
            private String specNo;
            @SerializedName("stockin_price")
            private BigDecimal stockinPrice;
            @SerializedName("defect")
            private Boolean defect;
            @SerializedName("position_no")
            private String positionNo;
            @SerializedName("cost_price")
            private BigDecimal costPrice;
            @SerializedName("goods_name")
            private String goodsName;
            @SerializedName("batch_no")
            private String batchNo;
            @SerializedName("src_price")
            private BigDecimal srcPrice;
            @SerializedName("unit_ratio")
            private BigDecimal unitRatio;
            @SerializedName("tax")
            private BigDecimal tax;
            @SerializedName("brand_name")
            private String brandName;
            @SerializedName("rec_id")
            private Integer recId;
            @SerializedName("prop4")
            private String prop4;
            @SerializedName("prop3")
            private String prop3;
            @SerializedName("prop2")
            private String prop2;
            @SerializedName("unit_name")
            private String unitName;
            @SerializedName("prop1")
            private String prop1;
            @SerializedName("expire_date")
            private String expireDate;
            @SerializedName("spec_name")
            private String specName;

            public BigDecimal getTaxAmount() {
                return taxAmount;
            }

            public void setTaxAmount(BigDecimal taxAmount) {
                this.taxAmount = taxAmount;
            }

            public BigDecimal getTotalCost() {
                return totalCost;
            }

            public void setTotalCost(BigDecimal totalCost) {
                this.totalCost = totalCost;
            }

            public BigDecimal getNum() {
                return num;
            }

            public void setNum(BigDecimal num) {
                this.num = num;
            }

            public String getGoodsNo() {
                return goodsNo;
            }

            public void setGoodsNo(String goodsNo) {
                this.goodsNo = goodsNo;
            }

            public String getProductionDate() {
                return productionDate;
            }

            public void setProductionDate(String productionDate) {
                this.productionDate = productionDate;
            }

            public BigDecimal getDiscount() {
                return discount;
            }

            public void setDiscount(BigDecimal discount) {
                this.discount = discount;
            }

            public BigDecimal getTaxPrice() {
                return taxPrice;
            }

            public void setTaxPrice(BigDecimal taxPrice) {
                this.taxPrice = taxPrice;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getPurchaseUnitName() {
                return purchaseUnitName;
            }

            public void setPurchaseUnitName(String purchaseUnitName) {
                this.purchaseUnitName = purchaseUnitName;
            }

            public String getSpecNo() {
                return specNo;
            }

            public void setSpecNo(String specNo) {
                this.specNo = specNo;
            }

            public BigDecimal getStockinPrice() {
                return stockinPrice;
            }

            public void setStockinPrice(BigDecimal stockinPrice) {
                this.stockinPrice = stockinPrice;
            }

            public Boolean getDefect() {
                return defect;
            }

            public void setDefect(Boolean defect) {
                this.defect = defect;
            }

            public String getPositionNo() {
                return positionNo;
            }

            public void setPositionNo(String positionNo) {
                this.positionNo = positionNo;
            }

            public BigDecimal getCostPrice() {
                return costPrice;
            }

            public void setCostPrice(BigDecimal costPrice) {
                this.costPrice = costPrice;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getBatchNo() {
                return batchNo;
            }

            public void setBatchNo(String batchNo) {
                this.batchNo = batchNo;
            }

            public BigDecimal getSrcPrice() {
                return srcPrice;
            }

            public void setSrcPrice(BigDecimal srcPrice) {
                this.srcPrice = srcPrice;
            }

            public BigDecimal getUnitRatio() {
                return unitRatio;
            }

            public void setUnitRatio(BigDecimal unitRatio) {
                this.unitRatio = unitRatio;
            }

            public BigDecimal getTax() {
                return tax;
            }

            public void setTax(BigDecimal tax) {
                this.tax = tax;
            }

            public String getBrandName() {
                return brandName;
            }

            public void setBrandName(String brandName) {
                this.brandName = brandName;
            }

            public Integer getRecId() {
                return recId;
            }

            public void setRecId(Integer recId) {
                this.recId = recId;
            }

            public String getProp4() {
                return prop4;
            }

            public void setProp4(String prop4) {
                this.prop4 = prop4;
            }

            public String getProp3() {
                return prop3;
            }

            public void setProp3(String prop3) {
                this.prop3 = prop3;
            }

            public String getProp2() {
                return prop2;
            }

            public void setProp2(String prop2) {
                this.prop2 = prop2;
            }

            public String getUnitName() {
                return unitName;
            }

            public void setUnitName(String unitName) {
                this.unitName = unitName;
            }

            public String getProp1() {
                return prop1;
            }

            public void setProp1(String prop1) {
                this.prop1 = prop1;
            }

            public String getExpireDate() {
                return expireDate;
            }

            public void setExpireDate(String expireDate) {
                this.expireDate = expireDate;
            }

            public String getSpecName() {
                return specName;
            }

            public void setSpecName(String specName) {
                this.specName = specName;
            }
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public String getLogisticsName() {
            return logisticsName;
        }

        public void setLogisticsName(String logisticsName) {
            this.logisticsName = logisticsName;
        }

        public BigDecimal getTaxAmount() {
            return taxAmount;
        }

        public void setTaxAmount(BigDecimal taxAmount) {
            this.taxAmount = taxAmount;
        }

        public String getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(String createdTime) {
            this.createdTime = createdTime;
        }

        public String getPurchaseNo() {
            return purchaseNo;
        }

        public void setPurchaseNo(String purchaseNo) {
            this.purchaseNo = purchaseNo;
        }

        public Integer getStockinId() {
            return stockinId;
        }

        public void setStockinId(Integer stockinId) {
            this.stockinId = stockinId;
        }

        public BigDecimal getTotalPrice() {
            return totalPrice;
        }

        public void setTotalPrice(BigDecimal totalPrice) {
            this.totalPrice = totalPrice;
        }

        public String getLogisticsNo() {
            return logisticsNo;
        }

        public void setLogisticsNo(String logisticsNo) {
            this.logisticsNo = logisticsNo;
        }

        public BigDecimal getGoodsAmount() {
            return goodsAmount;
        }

        public void setGoodsAmount(BigDecimal goodsAmount) {
            this.goodsAmount = goodsAmount;
        }

        public Integer getPurchaseId() {
            return purchaseId;
        }

        public void setPurchaseId(Integer purchaseId) {
            this.purchaseId = purchaseId;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public BigDecimal getGoodsCount() {
            return goodsCount;
        }

        public void setGoodsCount(BigDecimal goodsCount) {
            this.goodsCount = goodsCount;
        }

        public String getFlagName() {
            return flagName;
        }

        public void setFlagName(String flagName) {
            this.flagName = flagName;
        }

        public String getOperatorName() {
            return operatorName;
        }

        public void setOperatorName(String operatorName) {
            this.operatorName = operatorName;
        }

        public String getWarehouseNo() {
            return warehouseNo;
        }

        public void setWarehouseNo(String warehouseNo) {
            this.warehouseNo = warehouseNo;
        }

        public BigDecimal getTotalStockinPrice() {
            return totalStockinPrice;
        }

        public void setTotalStockinPrice(BigDecimal totalStockinPrice) {
            this.totalStockinPrice = totalStockinPrice;
        }

        public String getModified() {
            return modified;
        }

        public void setModified(String modified) {
            this.modified = modified;
        }

        public String getLogisticsTypeName() {
            return logisticsTypeName;
        }

        public void setLogisticsTypeName(String logisticsTypeName) {
            this.logisticsTypeName = logisticsTypeName;
        }

        public String getProviderName() {
            return providerName;
        }

        public void setProviderName(String providerName) {
            this.providerName = providerName;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public String getCheckTime() {
            return checkTime;
        }

        public void setCheckTime(String checkTime) {
            this.checkTime = checkTime;
        }

        public String getProviderNo() {
            return providerNo;
        }

        public void setProviderNo(String providerNo) {
            this.providerNo = providerNo;
        }

        public List<Detail> getDetailList() {
            return detailList;
        }

        public void setDetailList(List<Detail> detailList) {
            this.detailList = detailList;
        }
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<Order> getOrderList() {
        return orderList;
    }

    public void setOrderList(List<Order> orderList) {
        this.orderList = orderList;
    }
}
